import ajax from "./ajax";
export const reqLogin = (usename, password) =>
  ajax("/login", { usename, password }, "POST");
export const reqAddUser = user => ajax("/manage/user/add", user, "POST");

console.log("请求ajax。。。。。。。。。。。。。。。。。。。。。。");

ajax(
  "https://www.easy-mock.com/mock/5cf8cb4e54abff3ee041a142/example/goodslist",
  {},
  "GET"
);
